package com.juzipi.demo.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController// 包含@Controller和@ResponseBody
public class HelloController {

    @GetMapping("/hello")
    public String hello(String name){

        return "你好"+name;
    }



}
